package com.ruoyi.electrical.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 electrical_rate
 *
 * @author ruoyi
 * @date 2022-05-09
 */
public class ElectricalRate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评定单号 */
    private Long rateId;

    /** 隧道名称 */
    @Excel(name = "隧道名称")
    private String tunnelName;

    /** 隧道编码 */
    @Excel(name = "隧道编码")
    private Long tunnelId;

    /** 管养单位 */
    @Excel(name = "管养单位")
    private String maintenanceOrganization;

    /** 上次评定等级 */
    @Excel(name = "上次评定等级")
    private Long lastRateGrade;

    /** 上次评定日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上次评定日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastRateTime;

    /** 本次评定日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "本次评定日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rateTime;

    /** JDCI */
    @Excel(name = "JDCI")
    private Long jdci;

    /** 机电设施评定等级 */
    @Excel(name = "机电设施评定等级")
    private Long rateGrade;

    /** 养护措施建议 */
    @Excel(name = "养护措施建议")
    private String maintenanceMeasures;

    /** 评定人 */
    @Excel(name = "评定人")
    private String rater;

    /** 负责人 */
    @Excel(name = "负责人")
    private String recorder;

    public void setRateId(Long rateId)
    {
        this.rateId = rateId;
    }

    public Long getRateId()
    {
        return rateId;
    }
    public void setTunnelName(String tunnelName)
    {
        this.tunnelName = tunnelName;
    }

    public String getTunnelName()
    {
        return tunnelName;
    }
    public void setTunnelId(Long tunnelId)
    {
        this.tunnelId = tunnelId;
    }

    public Long getTunnelId()
    {
        return tunnelId;
    }
    public void setMaintenanceOrganization(String maintenanceOrganization)
    {
        this.maintenanceOrganization = maintenanceOrganization;
    }

    public String getMaintenanceOrganization()
    {
        return maintenanceOrganization;
    }
    public void setLastRateGrade(Long lastRateGrade)
    {
        this.lastRateGrade = lastRateGrade;
    }

    public Long getLastRateGrade()
    {
        return lastRateGrade;
    }
    public void setLastRateTime(Date lastRateTime)
    {
        this.lastRateTime = lastRateTime;
    }

    public Date getLastRateTime()
    {
        return lastRateTime;
    }
    public void setRateTime(Date rateTime)
    {
        this.rateTime = rateTime;
    }

    public Date getRateTime()
    {
        return rateTime;
    }
    public void setJdci(Long jdci)
    {
        this.jdci = jdci;
    }

    public Long getJdci()
    {
        return jdci;
    }
    public void setRateGrade(Long rateGrade)
    {
        this.rateGrade = rateGrade;
    }

    public Long getRateGrade()
    {
        return rateGrade;
    }
    public void setMaintenanceMeasures(String maintenanceMeasures)
    {
        this.maintenanceMeasures = maintenanceMeasures;
    }

    public String getMaintenanceMeasures()
    {
        return maintenanceMeasures;
    }
    public void setRater(String rater)
    {
        this.rater = rater;
    }

    public String getRater()
    {
        return rater;
    }
    public void setRecorder(String recorder)
    {
        this.recorder = recorder;
    }

    public String getRecorder()
    {
        return recorder;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rateId", getRateId())
            .append("tunnelName", getTunnelName())
            .append("tunnelId", getTunnelId())
            .append("maintenanceOrganization", getMaintenanceOrganization())
            .append("lastRateGrade", getLastRateGrade())
            .append("lastRateTime", getLastRateTime())
            .append("rateTime", getRateTime())
            .append("jdci", getJdci())
            .append("rateGrade", getRateGrade())
            .append("maintenanceMeasures", getMaintenanceMeasures())
            .append("rater", getRater())
            .append("recorder", getRecorder())
            .toString();
    }
}
